package com.tfswx.ocrengine.dto;

import lombok.Data;

/**
 * 文件识别信息
 * @author Ricky
 * @date 2021/1/11
 */
@Data
public class WjsbxxBean {
    /**
     * wjnr : dsnajfjdsncjdsnjs…
     * wjwb : 受案登记表  张三…
     * wjgd : 1000
     * wjkd : 700
     * wjysgd : 2000
     * wjyskd : 1400
     * wjqxjd : 0
     * wjpzj : 0
     * yssb : 1
     * wjjgxx : {"wbsl":1,"sxsl":1,"wbxx":[{"hwb":"犯罪嫌疑人张三\u2026","hxh":0,"dlxh":0,"flxh":0,"hwbzb":[{"x":365,"y":11},{"x":581,"y":11},{"x":581,"y":33},{"x":365,"y":33}],"zfxx":[{"z":"被","g":48,"k":54,"x":520,"y":245},{"z":"取","g":48,"k":54,"x":582,"y":245}]}],"sxxx":[{"wb":"被取","wbzb":[{"x":520,"y":244},{"x":1190,"y":244},{"x":1190,"y":295},{"x":520,"y":295}],"zfxx":[{"z":"被","g":48,"k":54,"x":520,"y":245},{"z":"取","g":48,"k":54,"x":582,"y":245}]}]}
     */

    /**
     * 转换后双层pdf文件（文件字节数组base64）
     */
    private String wjnr;
    /**
     * 文件文本
     */
    private String wjwb;
    /**
     * 文件高度
     */
    private int wjgd;
    /**
     * 文件宽度
     */
    private int wjkd;
    /**
     * 原始图片文件高度
     */
    private int wjysgd;
    /**
     * 原始图片文件宽度
     */
    private int wjyskd;
    /**
     * 文件倾斜角度
     */
    private float wjqxjd;
    /**
     * 文件偏转角，顺时针为正，逆时针为负
     */
    private int wjpzj;
    /**
     * 图像超过长边2500px，要做压缩识别
     */
    private String yssb = "1";
    /**
     * OCR返回带有文字坐标信息
     */
    private WjjgxxBean wjjgxx;
}
